* {
    padding: 0;
    margin: 0;
}

body {
    height: 100vh;
}

.content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    width: 320px;
    height: 450px;
    /* background-color: #232323; */
    background-color: rgba( 70, 130, 180, 0.6);
    box-shadow: rgba(0 0 0 .17) 13px 15px 13px 2px;
    border-radius: 15px;
    margin: 0 43px;
}

.card::before {
    content: '';
    display: inline-block;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #9e9e9e;
    top: 0;
    transition-duration: .5s;
    clip-path: circle(45% at 10% 10%);
}


/* .card::after {
    position: absolute;
    z-index: 1;
    top: 50%;
    transform: translateY(-50%);
    content: 'nick';
    color: rgba(255, 255, 255, .04);
    text-transform: uppercase;
    font-size: 7em;
    font-weight: 800;
    font-style: italic;
} */

.card:hover::before {
    clip-path: circle(49.5% at 27% 19%);
}

.shoebox {
    height: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-5%) rotate(15deg);
    transition-duration: .5s;
}

.card:hover .shoebox {
    transform: translateY( -20%) rotate(15deg);
}

.shoebox img {
    width: 80%;
}

.selector {
    position: absolute;
    width: 100%;
    height: 100px;
    bottom: 0;
    z-index: 3;
    color: #fff;
    transition-duration: 1s;
    text-align: center;
}

.card:hover .selector {
    height: 150px;
}

.selector h2 {
    font-weight: 700;
    margin-bottom: 24px;
}

.shoes-size,
.shoes-color {
    opacity: 0;
    visibility: hidden;
    margin: 15px 0;
    transition-duration: 1s;
}

.card:hover .shoes-size {
    transition-delay: .5s;
}

.card:hover .shoes-color {
    transition-delay: .6s;
}

.card:hover .shoes-size,
.card:hover .shoes-color {
    opacity: 1;
    visibility: visible;
}

.shoes-size span,
.shoes-color span {
    display: inline-block;
    vertical-align: middle;
    margin: 0 3px;
    height: 24px;
}

.shoes-size span {
    font-weight: 600;
    line-height: 24px;
    color: #131313;
    text-align: center;
    border-radius: 5px;
}

.shoes-color span {
    border-radius: 50%;
}

.shoes-color span:nth-child(1) {
    background-color: #9bdc28;
}

.shoes-color span:nth-child(2) {
    background-color: #E0E0E0;
}

.shoes-color span:nth-child(3) {
    background-color: #007ACC;
}

.shoes-color span:nth-child(4) {
    background-color: #E37831;
}

.by-btn {
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    padding: 5px 15px;
    background-color: #fff;
    color: #C46C62;
    border-radius: 15px;
    opacity: 0;
    visibility: hidden;
    transition-duration: 1s;
    margin: 0 10px;
}

.card:hover .by-btn {
    opacity: 1;
    visibility: visible;
    transition-delay: .7s;
}


.index {
  height: 100vh;
}
.el-main {
  border: 1px black solid;
  text-align: center; /*让div内部文字居中*/
  background-color: #fff;
  border-radius: 20px;
  width: 80%;
  height: 400px;
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
